/*
 * mlog.h
 *
 *  Created on: Apr 4, 2021
 *      Author: c
 */

#ifndef _STRING_TOOLS_H_
#define _STRING_TOOLS_H_

#include <stdint.h>

#define NO_NUM 0XFFFFFFFF

uint32_t string_to_uint(char* str);

uint8_t string_to_dec_time(uint8_t* str,uint8_t* time);

uint8_t string_get_sub_string(uint8_t* srcstr,uint8_t* deststr,uint8_t* matchstr,uint8_t len);

uint32_t string_get_substring_number(uint8_t* srcstr,char* matchstr);

uint8_t string_hex_to_int(uint8_t* data, uint8_t* str, uint16_t len);













#endif /* MLOG_H_ */
